home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Xconq 7.1.0 / src / xconq-7.1.0 / kernel / cmdline.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-07  |  1.0 KB  |  31 lines  |  [TEXT/R*ch]

  1. /* Command-line parsing definitions for Xconq.
  2.    Copyright (C) 1993, 1994, 1995 Stanley T. Shebs.
  3.  
  4. Xconq is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.  See the file COPYING.  */
  8.  
  9. enum parsestage {
  10.     general_options,
  11.     variant_options,
  12.     player_options,
  13.     interface_options,
  14.     leftover_options
  15. };
  16.  
  17. /* Global variables that command-line options tweak. */
  18.  
  19. extern int checkpointinterval;
  20. extern int allbedesigners;
  21. extern int option_popup_new_game_dialog;
  22. extern int warnings_suppressed;
  23.  
  24. extern void init_options PARAMS ((void));
  25. extern void parse_command_line PARAMS ((int argc, char **argv, int spec));
  26. extern void add_a_module PARAMS ((char *name, char *filename));
  27. extern void load_all_modules PARAMS ((void));
  28. extern void set_variants_from_options PARAMS ((void));
  29. extern void set_players_from_options PARAMS ((void));
  30. extern void print_instructions PARAMS ((void));
  31.